//导入Vue
import Vue from 'vue'

//导入路由
import VueRouter from 'vue-router'
Vue.use(VueRouter)

//导入私有路由
import router from './router.js'

//导入App
import app from './App.vue'

//创建vue实例,   
var vm=new Vue({
   el:'#app',
   data:{},
   render:c=>c(app),
   //实例中自定义router
   router
});